Autodesk.AutoCAD.DatabaseServices Namespace > Entity Class > Entity Methods > TransformSubentityPathsBy Method
Entity.TransformSubentityPathsBy Method   
Description

 

Applies a geometric transformation to one or more subentities on an object. 

This function provides a means by which AutoCAD and ObjectARX applications can ask the entity to apply a transformation matrix (xform) to one or more of its subentities. 

Implementation of this method is optional. Restrictions on what types of transformations are supported are up to the implementer of the entity class. 

This function must apply the transformation matrix xform to the subentities and change the entity's state to reflect the transformation. It is completely up to the implementer as to how to apply the transformation. It is also up to the implementer to decide what, if any, restrictions will be placed on the type of transformations supported. If any restrictions are desired, then it's up to the implementation of this function to enforce them. 

 

Note If this method is not overridden, then AutoCAD commands such as MOVE, ROTATE, SCALE, etc. will have no effect on subentities of this class. 

Visual Basic
Public Function TransformSubentityPathsBy(
    subPaths As FullSubentityPath[], 
    transform As Matrix3d
) As void
C#
public void TransformSubentityPathsBy(
    FullSubentityPath\[\] subPaths, 
    Matrix3d transform
);
Parameters
Parameters 
Description 
FullSubentityPath[] subPaths 
Input an array of one or more FullSubentityPath objects identifying the subentities to transform 
Matrix3d transform 
Input the WCS transformation to apply to each of the supplied subentities. 
Links
   Comments?